package me.cloudcat.develop.mongodb;

import me.cloudcat.develop.entity.User;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Component
public interface UserRepository extends MongoRepository<User, String> {

  public User findByUsername(String username);

}
